package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Permission;
import cn.wolfcode.rbac.qo.PermissionQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author xiahuihui
 * #Description PermissionService
 * #Date: 2022/7/2 13:43
 */
public interface PermissionService {

    //查询所有权限
    public List<Permission> findPermissionAll();

    //根据条件分页查询权限
    public PageInfo<Permission> findByPage(PermissionQo qo);

    //根据id删除权限
    public void deletePermission(Long id);

    //重新加载
    public void reload();
}
